<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link rel="stylesheet" href="../public/css/index.css" />
    <link rel="stylesheet" href="../public/css/add.css" />
    <link rel="stylesheet" href="../public/css/common.css" />
    <title>留言板-添加留言</title>
  </head>
  <body>
    <div class="mes_card">
      <div class="top_bar">留言板-添加留言</div>
      <a href="/" class="go_add">返回首页</a>
      <form action="/doadd" method="POST">
        <div class="title">名称</div>
        <input
          class="inp"
          type="text"
          required
          name="name"
          minlength="2"
          maxlength="10"
          placeholder="请输入昵称"
        />
        <div class="title">留言内容</div>
        <textarea
          class="area"
          name="content"
          id="area"
          cols="30"
          rows="10"
          required
          minlength="5"
          maxlength="100"
          placeholder="请输入留言内容"
        ></textarea>
        <button class="release" type="submit">发表</button>
      </form>
    </div>
  </body>
</html>
